package com.techblor.serviceconsumerfeign.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Feign服务消费者接口
 */
@FeignClient(name = "microservice-service-provider") // 标明Feign调用的微服务名称
public interface ServiceConsumerFeignClient {

    @GetMapping(value = "/serviceProviderData") // 对应微服务名称中的URL
    public String serviceProviderData();
}
